arch:
    - amd64
    - ppc64le
language: go
go:
    - 1.9.x
    - 1.10.x
    - 1.11.x

before_install:
    - go get -t -v ./...

install:
    - go get github.com/xtaci/smux

script:
    - go test -coverprofile=coverage.txt -covermode=atomic -bench .

after_success:
    - bash <(curl -s https://codecov.io/bash)
